//提供通知
import { ElNotification } from "element-plus";

var notificationInstance = null
export default (option) => {
    notificationInstance && notificationInstance.close()
    notificationInstance = ElNotification(option)
}